package com.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.bean.SellCarBean;
import com.project.bean.SellInfoBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ISellInfoMapper extends BaseMapper<SellInfoBean> {

    List<SellInfoBean> findList(Integer id);

    void addInfo(@Param("list") List<SellCarBean> list,
                 @Param("sellId") Integer sellId);
}
